<template>
    <div class="tree-box">
        <folder :folderValue="tree"></folder>
    </div>
</template>
<script>

    import { mapState } from "vuex";
    import folder from './folder.vue'
    export default {
        components: {
            folder
        },
        computed: {
            ...mapState("Tree", {
                tree: state => state.tree
            })
        },
    }
</script>
<style scoped>
    .tree-box {
        position: absolute;
        top: 0px;
        width: 100%;
        bottom: 0px;
        overflow-x: auto;
        overflow-y: auto;
        padding: 0 0 80px 0;
    }
</style>